﻿<navigation:Page xmlns:riaControls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Ria"
                 xmlns:dataFormToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.DataForm.Toolkit"
                 xmlns:localData="clr-namespace:SilverlightSEO"
                 x:Class="SilverlightSEO.Maintenance"
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                 mc:Ignorable="d"
                 xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
                 d:DesignWidth="640"
                 d:DesignHeight="480"
                 Title="Maintenance Page">
    <Grid x:Name="LayoutRoot">
        <riaControls:DomainDataSource x:Name="SiteDomainDataSource"
                                      QueryName="GetPages">
            <riaControls:DomainDataSource.DomainContext>
                <localData:SiteDomainContext />
            </riaControls:DomainDataSource.DomainContext>
        </riaControls:DomainDataSource>
        <StackPanel>
            <dataFormToolkit:DataForm x:Name="PageDataForm"
                                      ItemsSource="{Binding Data, ElementName=SiteDomainDataSource}">
            </dataFormToolkit:DataForm>
            <Button x:Name="SavePagesButton"
                    Content="Save Changes" />
        </StackPanel>
    </Grid>
</navigation:Page>

